#pragma once

#include "Symbol/Symbol.hpp"
#include "Symbol/TypeSymbol.hpp"

class VariableSymbol : public Symbol
{
public:
    bool       IsReadOnly;
    TypeSymbol Type;

protected:
    VariableSymbol(std::string name, bool isReadOnly, TypeSymbol type) : Symbol(name, SymbolKind::Variable), IsReadOnly(isReadOnly), Type(type) {}
};